import Vue from 'vue'

let strLengthFilter = Vue.filter('handleStrLength', function(value,maxlength) {
  if (!value | value===undefined || value==='') { return ''}
  return value.substr(0,maxlength)+'...'
})


export default {
  strLengthFilter
}
